<template>
  <div>
      <el-container>
        <el-aside :width="getFoldFlag?'60px':'200px'">
            <leftNavi/>
        </el-aside>

        <el-container>
            <el-header style="height:50px;">
                <topHead/>
            </el-header>

            <el-main>
              <myBreadcrumb/>
              <router-view/>
            </el-main>
        </el-container>
    </el-container>
  </div>
</template>

<script>
import leftNavi from '@/components/LeftNavi.vue'
import myBreadcrumb from '@/components/BreadcrumbMy.vue'
import topHead from '@/components/TopHead.vue'
import { mapActions, mapGetters } from 'vuex'

export default {
    components: { leftNavi, myBreadcrumb, topHead },
    data() {
       return {};
    },
    methods: {
      
      
    },
    computed:{
      ...mapGetters(["getFoldFlag"]),
    },
    created() {

    }
};
</script>

<style scoped>
  .el-header{
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    height: 50px;
    padding: 0px;
  }
  
  .el-aside {
    background-color: #545c64;
    text-align: center;
    height: 576px;
  }
  
  .el-main {
    text-align: center;
    height: 160px;
    padding: 0px;
  }


</style>